require './test/test_helper'

# Public: Tests the Pyro RESTful API routes.
#
# Example
#
#   ~/pyro $ rake test
class TestPyro
  # Tests a sample route.
  #
  # Expects a successful response.
  def test_sample
    get '/sample'
    assert last_response.ok?
  end

  # Tests the root route.
  #
  # Expects a successful response.
  def test_root
    get '/'
    assert last_response.ok?
  end
end